from rest_framework import serializers
from app.models import StudentsModel,ClassModel

class StuSer(serializers.ModelSerializer):
    class Meta():
        model=StudentsModel
        fields='__all__'

class ClssSer(serializers.ModelSerializer):
    class Meta():
        model=ClassModel
        fields='__all__'